﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

using QLTTAN.DAL;
using QLTTAN.DTO;
namespace QLTTAN.BLL
{
    public class KhoaHocBLL
    {
        KhoaHocDAL KH_DAL;

        public KhoaHocBLL()
        {
            KH_DAL = new KhoaHocDAL();
        }

        public DataTable KhoaHoc_Load()
        {
            return KH_DAL.KhoaHoc_Load();
        }

        public DataRow KhoaHoc_GetInfo(KhoaHocDTO KH_DTO)
        {
            return KH_DAL.KhoaHoc_GetInfo(KH_DTO);
        }

        public int KhoaHoc_Insert(KhoaHocDTO KH_DTO)
        {
            return KH_DAL.KhoaHoc_Insert(KH_DTO);
        }

        public int KhoaHoc_Update(KhoaHocDTO KH_DTO)
        {
            return KH_DAL.KhoaHoc_Update(KH_DTO);
        }

        public int KhoaHoc_Delete(KhoaHocDTO KH_DTO)
        {
            return KH_DAL.KhoaHoc_Delete(KH_DTO);
        }
    }
}
